
html, body, div {
    margin: 0;
    padding: 0;
}
html, body, #kityminder, div.kmui-editor-body {
    overflow: hidden;
    -moz-user-select: none;
    width: 100%;
}
#content-wrapper {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
#title, #panel {
    background: hsl(224, 16%, 27%);
    font-family: 'Hiragino Sans GB', 'Arial', 'Microsoft Yahei';
    /* -webkit-font-smoothing: antialiased; */
}

#title {
    height: 40px;
    line-height: 45px;
    padding: 0;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #DBDBDB;
    text-align: center;
    font-weight: 300;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    white-space: nowrap;
}

#panel {
    height: 40px;
    overflow: visible;
    padding: 0 15px;
    position: relative;
    border-bottom: 8px solid #5A6378;
}

#panel button {
    font-size: 14px;
    height: 24px;
    line-height: 28px;
    padding-right: 7px;
    padding-left: 30px;
    cursor: pointer;
    color: #a3a6ae;
    margin: 0 8px;
    background: url(../images/menu-icons.png) no-repeat;
    vertical-align: middle;
    margin-top: -3px;
}

#menu, #user {
    height: 40px;
    line-height: 40px;
}

#menu {
    float: left;
}

#panel button:hover, #panel button.active {
    color: white;
    box-shadow: none;
}

button.dropdown {
    padding-right: 28px !important;
    position: relative;
}
button.dropdown:after {
    content: ' ';
    display: block;
    position: absolute;
    right: 10px;
    top: 12px;
    width: 0;
    height: 0;
    border: solid;
    border-width: 4px 5px;
    border-color: #a3a6ae transparent transparent transparent;
}
button.dropdown:hover:after, button.dropdown.active:after {
    border-color: #fff transparent transparent transparent;
}

#file-btn:hover, #file-btn.active {
    background-position: 0 -24px;
}


button#tool-btn {
    background-position: 0 -48px;
}

#tool-btn:hover, #tool-btn.active {
    background-position: 0 -72px;
}

#tool-btn.active:after {
    content: ' ';
    display: block;
    position: absolute;
    top: 21px;
    left: 40px;
    width: 0;
    height: 0;
    border: solid;
    border-width: 11px 11px;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #FFF rgba(0, 0, 0, 0);
}

#panel button#tool-btn {
    padding-right: 20px;
    position: relative;
    overflow: visible;
}

#panel button#tool-btn.active:before {
    content: ' ';
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    background: url(../images/check.png) 0 -12px;
    border: none;
    right: 2px;
    top: 8px;
}

#user {
    /* position: absolute; */
    /* top: 0; */
    /* right: 10px; */
    float: right;
}

#user-btn, #logout-btn, #user.logined #login-btn {
    display: none;
}

#user.logined #user-btn, #user.logined #logout-btn {
    display: inline-block;
}

button#user-btn {
    position: relative;
    margin-right: 0;
}

button#user-btn, button#login-btn {
    background-position: 0 -96px;
}

button#user-btn:hover, button#login-btn:hover,
button#user-btn.active, button#login-btn.active {
    background-position: 0 -120px;
}

#user-btn img {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 18px;
    height: 18px;
    /* display: none; */
}

button#logout-btn {
    background: none;
    margin: none;
    padding-left: 0;
}

button#draft-btn {
    background-position: 0 -144px;
}

button#draft-btn:hover, 
button#draft-btn.active {
    background-position: 0 -168px;
}

li#manage-file-button {
    position: relative;
}

li#manage-file-button:before {
    content: ' ';
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    left: 5px;
    background: url(../images/baiducloud.png) no-repeat 3px 0;
}
li#manage-file-button:hover:before {
    background-position: 3px -24px;
}

button#share-btn {
    background-position: 0 -192px;
}

button#share-btn:hover {
    background-position: 0 -216px;
}

#kityminder {
    position: absolute;
    left: 0;
    top: 48px;
    right: 0;
    bottom: 0;
}

.km_receiver{
    width:0;
    height:0;
}
.km-minderNode{
    cursor:default;
}
.kmui-container {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
.kmui-editor-body {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
.kmui-container .kmui-toolbar{
    background-color: #fff;
    z-index: 999;
}
.kmui-container .kmui-toolbar:after {
}
.kmui-toolbar .kmui-btn-toolbar{
    padding: 5px;
    border-bottom: 1px solid #f0f0f0;
}
.kmui-toolbar {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}
.kmui-container .kmui-editor-body {
    background: #fbfbfb;
    /*line-height: 0;*/
    overflow: hidden;
}
svg, body {
    font-family: Arial, "Microsoft Yahei", "Heiti SC", sans-serif;
}
#about {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 40px;
    line-height: 40px;
    background: #5d697a;
    color: #eee;
    font-family:Arial;
    font-size: 13px;
    font-weight:normal;
    margin:0;
    text-align: right;
    padding: 0 15px 0 60px;
    border-bottom: 5px solid #393F4F;
    
    transition: all ease .3s 0.3s;
    
    -webkit-transform: translate(100%);
    -moz-transform: translate(100%);
    -ms-transform: translate(100%);
    -o-transform: translate(100%);
    transform: translate(100%);
}
#about:hover, #about:hover #km-cat {
    -webkit-transform: translate(0);
    -moz-transform: translate(0);
    -ms-transform: translate(0);
    -o-transform: translate(0);
    transform: translate(0);
}
#about a {
    color: #eee;
}
#about #km-cat {
    position: absolute;
    left: 15px;
    top: 5px;
    transition: all ease 1.3s 0.3s;
    -webkit-transform: translate(-60px, 0);
    -moz-transform: translate(-60px, 0);
    -ms-transform: translate(-60px, 0);
    -o-transform: translate(-60px, 0);
    transform: translate(-60px, 0);
    cursor: pointer;
}
#about #cat-face {
    fill: #393F4F;
}
#km-version.new-version{position:relative;padding-right:30px}
#km-version.new-version:after{content:'NEW';color:#ff0;position:absolute;top:-10px;right:-5px;display:block;background:#f00;padding:0 5px;border-radius:4px;text-shadow:none;box-shadow:-1px 1px 3px rgba(0,0,0,0.3);-webkit-transform:scale(.6);-moz-transform:scale(.6);-ms-transform:scale(.6);transform:scale(.6)}
